import 'dart:ui';

import 'package:dio/dio.dart';

class Const {

  // 颜色
  static var gold = const Color(0xffCB942E);
  static var grey = const Color(0xff716A6A);
  static var greybar = const Color(0xff3D3536);
  static var black = const Color(0xff2B2B2B);
  static var bar = const Color(0xff281F20);
  // 登录状态
  static var UNLOGIN = 0;//未登录
  static var BIND = 1;//登录已认证
  static var UNBIND = 2;//登录未认证


  // 基础 url
  static String BASEURL = 'http://123.57.135.227:3000/mock/117';
//  static String BASEURL = 'http://123.57.135.227:3000/mock/117';
  // 储存用户信息
  static var UUID = 'UUID';

  static BaseOptions get = BaseOptions(
    baseUrl: BASEURL,
    method: 'GET',
//      headers: {'header': 'sss'},
    connectTimeout: 5000,
    receiveTimeout: 3000,
    responseType: ResponseType.plain,
  );

  static BaseOptions post = BaseOptions(
    baseUrl: BASEURL,
    method: 'POST',
    connectTimeout: 5000,
    receiveTimeout: 3000,
    responseType: ResponseType.plain,
  );
  static String Camera = '1';
  static String Picture = '2';
  static String COMPANYS = 'companys';
  static String TEACHERS = 'teachers';
  static String CARS = 'cars';
  static String STUDENTS1 = 'student1';
  static String STUDENTS2 = 'student2';
  static String STUDENTS3 = 'student3';

}
